import request from '@/utils/request';
// 新增save
export const addMarketingApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/save', params);
export const marketingListApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/list', params);
// 营销图库列表
export const resourcesListApi = (params: object) =>
  request.post('/ssystem-api/api/MarketingGallery/atlasList', params);
// 资源下载//
export const zYApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/resourcesList', params);
//获取一级和二级标题
export const titleApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/allClass', params);
// 编辑
export const editApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/add', params);
// 标题删除
export const delclassApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/delclass', params);
// 资源列表 营销删除
export const zYdelApi = (params: object) =>
  request.post('/ssystem-api/api/ResourceCategory/delRes', params);
